#pragma once
#include "common.h"
//#include "threadWork.h"

class parserUrl
{
public:
    parserUrl();
	parserUrl(const string & _url);
	~parserUrl(void);

    
	void doParserUrl(const string & _url);
	
	UrlPath * getUrlPath(){return m_UrlPath;}	

    bool isUrl(string & s);
    bool insertDB(UrlPath * u);
private:
	string doRegex(string ,const string & );

private:
	//std::vector<string> m_vecUrl;
	UrlPath * m_UrlPath;
};




